BEST PRACTICE (simple + reliable)
🟢 1. Save dependencies to file
Inside your project:
pip freeze > requirements.txt
This creates something like:
pillow==11.1.0
pygame==2.6.1
pyserial==3.x

🟢 2. Copy your project folder
Copy everything:
old_phone.py
phone_launcher.py
.venv ❌ (don’t copy this)
requirements.txt ✅
images, sounds, etc.

🟢 3. On new laptop
Run:
cd your_project
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

🟢 4. Recreate launcher
Same as before:
run_old_phone.sh
.desktop file


--------
The address book
The JSON file is saved at ~/.config/phone_launcher.json — that expands to /home/mih/.config/phone_launcher.json.
